package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the per_pms_z_zes database table.
 * 
 */
@Entity
@Table(name="per_pms_z_zes")
@NamedQuery(name="PerPmsZZes.findAll", query="SELECT p FROM PerPmsZZes p")
public class PerPmsZZes implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int zesid;

	private Timestamp zestime;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	//bi-directional many-to-one association to PerPmsZCls
	@ManyToOne
	@JoinColumn(name="CLSID")
	private PerPmsZCls perPmsZCl;

	public PerPmsZZes() {
	}

	public int getZesid() {
		return this.zesid;
	}

	public void setZesid(int zesid) {
		this.zesid = zesid;
	}

	public Timestamp getZestime() {
		return this.zestime;
	}

	public void setZestime(Timestamp zestime) {
		this.zestime = zestime;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

	public PerPmsZCls getPerPmsZCl() {
		return this.perPmsZCl;
	}

	public void setPerPmsZCl(PerPmsZCls perPmsZCl) {
		this.perPmsZCl = perPmsZCl;
	}

}